// 加载 mongoose 工具模块
var mongoose = require('mongoose')
var UserSchema = require('../schemas/user')
// 编译 User 模型
var User = mongoose.model('User', UserSchema)
module.exports = User